import request from '@/utils/request'


export function getSettings(){
  return request({
    url: '/system/config/getKey/generalDay',
    method: 'GET',
  })
}

export function getSettingsMajor(){
  return request({
    url: '/system/config/getKey/majorDay',
    method: 'GET',
  })
}
export function getSettingsmoreDay(){
  return request({
    url: '/system/config/getKey/moreDay',
    method: 'GET',
  })
}
// /system/config

export function settingsUpdate(data){
  return request({
    url: '/system/config',
    method: 'put',
    data: data
  })
}